/**
 * ©2013-2015 Alan L. Rights Reserved.
 */
package org.freedom.railhunter.model;

import java.io.Serializable;

/**
 *
 * @author Alan
 */
public enum SeatType implements Serializable {

    YI_DENG_ZUO("ZY", "一等座", "M"),
    
    ER_DENG_ZUO("ZE", "二等座", "O"),
    
    SHANG_WU_ZUO("SWZ", "商务座", "9"),
    
    TE_TENG_ZUO("TZ", "特等座", "P"),
    
    YING_ZUO("YZ", "硬座", "1"),
    
    RUAN_ZUO("RZ", "软座", "2"),
    
    YING_WO("YW", "硬卧", "3"),
    
    RUAN_WO("RW", "软卧", "4"),
    
    GAO_JI_RUAN_WO("GR", "高级软卧", "6"),
    
    WU_ZUO("WZ", "无座", "WZ");
    
    private String mark;
    private String name;
    private String value;

    private SeatType(String mark, String name, String value) {
        this.mark = mark;
        this.name = name;
        this.value = value;
    }
    
    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return getName();
    }
}
